home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / jbbs_br.zip / BR.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-06-09  |  2KB  |  94 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 1.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     String   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.  
  24. ;------------------------------------------------------------------------------
  25.  
  26.     STRING002 = " 1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM~!@#$%^&*()`_+-=[]{}:;',./<>?\|"
  27.     STRING003 = "1234567890ALLall"
  28.     STRING001 = ""
  29.     STRING004 = "0"
  30.     PrintLn "    Enter the Message to Brodcast (CR=Abort)"
  31.     InputStr "@X09MSG: _", STRING001, 14, 60, STRING002, 2
  32.     If (STRING001 == "") Then
  33.         Goto LABEL001
  34.     Endif
  35.     PrintLn "@WHO@"
  36.     InputStr "Enter the Node to Boardcast to, (1-" + String(MaxNode()) + ") , (ALL), (0)=Abort", STRING004, 3, 3, STRING003, 2
  37.     Select Case (STRING004)
  38.         Case "0"
  39.             Log "Attempted Brodcast: " + String(STRING001), 0
  40.             PrintLn ""
  41.             PrintLn "@X09Aborting....."
  42.             Log "Brodcasted: " + String(STRING001) + " to Node " + String(STRING004), 0
  43.             PrintLn ""
  44.         Case "ALL"
  45.             Broadcast 1, 65535, String(U_Name()) + ": " + STRING001 + " from Node " + String(PcbNode())
  46.             PrintLn "@X09Sending @X09" + String(STRING001) + "@X09 to ALL Nodes..."
  47.         Case Else
  48.             Broadcast STRING004, STRING004, String(U_Name()) + ": " + STRING001 + " from Node " + String(PcbNode())
  49.             PrintLn "@X09Sending @X09" + String(STRING001) + "@X09 to Node " + String(STRING004) + "..."
  50.     End Select
  51.     :LABEL001
  52.  
  53. ;------------------------------------------------------------------------------
  54. ;
  55. ; Usage report (before postprocessing)
  56. ;
  57. ; ■ Statements used :
  58. ;
  59. ;    6       Goto 
  60. ;    4       Let 
  61. ;    7       PrintLn 
  62. ;    3       If 
  63. ;    2       Log 
  64. ;    2       InputStr 
  65. ;    2       Broadcast 
  66. ;
  67. ;
  68. ; ■ Functions used :
  69. ;
  70. ;    20      +
  71. ;    3       ==
  72. ;    3       !
  73. ;    2       U_Name()
  74. ;    11      String()
  75. ;    2       PcbNode()
  76. ;    1       MaxNode()
  77. ;
  78. ;------------------------------------------------------------------------------
  79. ;
  80. ; Analysis flags : No flag
  81. ;
  82. ;------------------------------------------------------------------------------
  83. ;
  84. ; Postprocessing report
  85. ;
  86. ;    0       For/Next
  87. ;    0       While/EndWhile
  88. ;    1       If/Then or If/Then/Else
  89. ;    1       Select Case
  90. ;
  91. ;------------------------------------------------------------------------------
  92. ;                 AEGiS Corp - Break the routines, code against the machines!
  93. ;------------------------------------------------------------------------------
  94.